package cn.wgx.modules.sys.entity.mapper;

import cn.wgx.modules.sys.entity.SysRole;
import cn.wgx.modules.sys.entity.SysRoleExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRoleMapper {

    /**
     * @mbg.generated Tue Jan 14 16:26:49 CST 2020
     */
    int deleteByExample(SysRoleExample example);

    /**
     * @mbg.generated Tue Jan 14 16:26:49 CST 2020
     */
    int insertSelective(SysRole record);

    /**
     * @mbg.generated Tue Jan 14 16:26:49 CST 2020
     */
    int updateByExample(@Param("record") SysRole record, @Param("example") SysRoleExample example);

    /**
     * @mbg.generated Tue Jan 14 16:26:49 CST 2020
     */
    long countByExample(SysRoleExample example);

    /**
     * @mbg.generated Tue Jan 14 16:26:49 CST 2020
     */
    int deleteByPrimaryKey(Integer role_id);

    /**
     * @mbg.generated Tue Jan 14 16:26:49 CST 2020
     */
    int insert(SysRole record);

    /**
     * @mbg.generated Tue Jan 14 16:26:49 CST 2020
     */
    int updateByPrimaryKeySelective(SysRole record);

    /**
     * @mbg.generated Tue Jan 14 16:26:49 CST 2020
     */
    List<SysRole> selectByExample(SysRoleExample example);

    /**
     * @mbg.generated Tue Jan 14 16:26:49 CST 2020
     */
    int updateByPrimaryKey(SysRole record);

    /**
     * @mbg.generated Tue Jan 14 16:26:49 CST 2020
     */
    int updateByExampleSelective(@Param("record") SysRole record, @Param("example") SysRoleExample example);

    /**
     * @mbg.generated Tue Jan 14 16:26:49 CST 2020
     */
    SysRole selectByPrimaryKey(Integer role_id);
}
